<?php

namespace Wgx\Admin\Com\Crud\EditPageInput;

use Wgx\Admin\Com\Crud\EditPageInputBase;

class InputHidden extends EditPageInputBase
{
    /**
     * InputHidden constructor.
     * @param mixed $origValue - 原值
     */
    public function __construct($origValue)
    {
        $this->origValue = $origValue;
    }

    /**
     * @inheritDoc
     */
    public function getInputType()
    {
        return self::InputHidden;
    }

    /**
     * @inheritDoc
     */
    public function getIsRequired()
    {
        return true;
    }
}